package com.cartoonrabbit.service;

import com.cartoonrabbit.pojo.WithdrawOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cartoonrabbit.vo.RespBean;

import java.io.IOException;
import java.security.Principal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuTeng
 * @since 2023-01-09
 */
public interface IWithdrawOrderService extends IService<WithdrawOrder> {

    RespBean transfer(Long money, Principal principal);

    void checkTransferStatus(WithdrawOrder transfer) throws IOException;

    RespBean getWithdrawOrderList(Integer currentPage, Integer size, String name);
}
